﻿@model JiaBloggingSite.Models.LoginModel
 
@{
    Layout = null;
}
 
<!DOCTYPE html>
 
<html>
 
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Login</title>
     
    <link href="@Url.Content("~/Content/themes/simple/admin.css")" rel="stylesheet" />
     
    <script src="~/Scripts/jquery-2.0.0.min.js"></script>
    <script src="~/Scripts/jquery.validate.min.js"></script>
    <script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>

</head>
 
<body>
<div id="login-div">
    @Html.ValidationSummary(true)
 
    @using (Html.BeginForm())
    {
        <fieldset>
            <legend>Login</legend>
            <p>
                @Html.LabelFor(m => m.UserName)
                @Html.TextBoxFor(m => m.UserName)
                @Html.ValidationMessageFor(m => m.UserName)
            </p>
             
            <p>
                @Html.LabelFor(m => m.Password)
                @Html.PasswordFor(m => m.Password)
                @Html.ValidationMessageFor(m => m.Password)
            </p>
 
            @Html.Hidden("ReturnUrl")
            @Html.AntiForgeryToken()
 
            <p>
                <input type="submit" value="Login" />
            </p>
        </fieldset>
    }
</div>
</body>
</html>